/*
 * Copyright 2011 Michele Mancioppi [michele.mancioppi@gmail.com]
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package cave.nice.testMessage;

import com.google.appengine.api.utils.SystemProperty;

public class TestMessageConstants {

	public static final String SMTP_HEADER_ACCOUNT_IDENTIFIER = "X-TestMessage-AccountIdentifier";

	public final static String SMTP_HEADER_TEST_IDENTIFIER = "X-TestMessage-TestIdentifier";

	public final static String PARAMETER_TEST_CHALLENGE_IDENTIFIER = "challenge";

	public static final int DEFAULT_NOTIFY_AFTER_OVERDUE = 30;

	public static final boolean DEFAULT_NOTIFY_IF_NO_OPEN_TESTS = false;

	public final static long MAX_DATASTORE_SIZE_IN_BYTES = 1000000000l;

	public final static String INCOMING_EMAIL_DOMAIN = "appspotmail.com";

	public final static String TEST_MESSAGE_SENDER_NAME = "Your Friendly TestMessage Application";

	public final static String TESTS_EMAIL_ADDRESS = "tests@"
			+ SystemProperty.applicationId.get() + '.' + INCOMING_EMAIL_DOMAIN;

	public final static String NOTIFICATIONS_EMAIL_ADDRESS = "notifications@"
			+ SystemProperty.applicationId.get() + '.' + INCOMING_EMAIL_DOMAIN;

	public static final String CONFIRMATION_REQUESTS_TASKS_QUEUE_NAME = "confirmationRequests";

	public static final String REPORTING_TASKS_QUEUE_NAME = "reporting";

	public static final String TESTS_GENERATION_QUEUE_NAME = "testsGeneration";

	private TestMessageConstants() {
	}

}
